﻿using System;
using System.Collections.Generic;
using System.Configuration;

namespace FTPC.Config {
    class ApplicationConfig : ConfigurationSection {
        public const string SECTION_NAME = "application";

        [ConfigurationProperty ("ip")]
        public string ip {
            get { return (string)this["ip"]; }
            set { this["ip"] = value; }
        }

        [ConfigurationProperty ("port")]
        public string port {
            get { return (string)this["port"]; }
            set { this["port"] = value; }
        }

        [ConfigurationProperty ("username")]
        public string username {
            get { return (string)this["username"]; }
            set { this["username"] = value; }
        }

        [ConfigurationProperty ("pwd")]
        public string pwd {
            get { return (string)this["pwd"]; }
            set { this["pwd"] = value; }
        }
    }
}
